package com.qzimp.fujiancuo.service.impl;

import com.mybatisflex.spring.service.impl.ServiceImpl;
import com.qzimp.fujiancuo.entity.Collection;
import com.qzimp.fujiancuo.mapper.CollectionMapper;
import com.qzimp.fujiancuo.service.CollectionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *  服务层实现。
 *
 * @author 李欧雯
 * @since 2024-12-20
 */
@Service
public class CollectionServiceImpl extends ServiceImpl<CollectionMapper, Collection> implements CollectionService {

    @Autowired
    private CollectionMapper collectionMapper;
    @Override
    public List<Collection> getByUserId(Integer userinfoId) {
        return collectionMapper.getByUserId(userinfoId);
    }
}
